import request from '@/utils/request.js'
/* 特惠推荐 */
export function getDiscount(params) {
  return request({
    method: 'GET',
    url: '/hot/preference',
    data: {
      ...params
    }
  })
}
/* 爆款推荐 */
export function getRecommendGoods(params) {
  return request({
    method: 'GET',
    url: '/hot/inVogue',
    data: {
      ...params
    }
  })
}
/* 一站买全 */
export function getOneShop(params) {
  return request({
    method: 'GET',
    url: '/hot/oneStop',
    data: {
      ...params
    }
  })
}
/* 新鲜好物 */
export function getHotNew(params) {
  return request({
    method: 'GET',
    url: '/hot/new',
    data: {
      ...params
    }
  })
}